package com.itwh.project.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 实验室-课程：本实验室可以完成哪些课程的实验
 * </p>
 *
 * @author 翁煌
 * @since 2020-07-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="LabLaboratoryCourse对象", description="实验室-课程：本实验室可以完成哪些课程的实验")
public class LabLaboratoryCourse implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "学校id")
    private Long collegeId;

    @ApiModelProperty(value = "实验室id，关联到laboratory.id")
    private Long laboratoryId;

    @ApiModelProperty(value = "课程id，关联到course.id")
    private Long courseId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "操作者")
    private Long byWho;

    @ApiModelProperty(value = "本记录是否有效")
    private Boolean deleted;

    @ApiModelProperty(value = "历史版本")
    private Long lastVersion;


}
